package me.jiatao.kotlinmall.injection.module

import dagger.Module
import dagger.Provides
import me.jiatao.baselibrary.injection.scope.FragmentScope
import me.jiatao.kotlinmall.mvp.service.HomeService
import me.jiatao.kotlinmall.mvp.service.impl.HomeServiceImpl

/**
 * 首页模块Module
 */
@Module
class HomeModule {

    @FragmentScope
    @Provides
    fun provideHomeService(homeService: HomeServiceImpl): HomeService {
        return homeService
    }

}

